package params

type RoleListPermissionInfoRequest struct {
	PartnerId     uint64
	RoleId        uint64
	PermissionIds []uint64
}

type PermissionInfoItem struct {
	PermissionId uint64 `form:"permission_id" json:"permission_id,string"`
	NeedAuth     bool   `form:"need_auth" json:"need_auth"`
}

type RoleAddPermissionInfosRequest struct {
	PermissionInfos []*PermissionInfoItem `form:"permission_infos" json:"permission_infos"`
}
